﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace RPG_The_Game.Cenas
{
   public class Cena_Menu:Game1
    {
       Texture2D menu;
       Texture2D iniciar;
       Texture2D bcreditos;
       Texture2D sair;
       MouseState start;

       GameWindow Window;

       public Cena_Menu(ContentManager Content, GameWindow Window)
       {
           this.Window = Window;
           menu = Content.Load<Texture2D>("Menu");
           //iniciar = Content.Load<Texture2D>("Iniciar");
           //sair = Content.Load<Texture2D>("SAIR");
           //bcreditos = Content.Load<Texture2D>("Bcreditos");

       }

       public void Update(GameTime gameTime)
       {

           //if (mouse_atual.LeftButton == ButtonState.Pressed)
           //{
            //   rato.diferenca = new Vector2(rato.PosMouse.X - rato.Posicao.X, rato.PosMouse.Y - rato.Posicao.Y);
            //   rato.Posicao = new Vector2(mouse_atual.X, mouse_atual.Y);
          // }

          //if (this.start.LeftButton == ButtonState.Pressed)
           //{
               //Cenas cenaAtual = Cenas.JOGO;
           //}

       }

       public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
       {
           //spriteBatch.Draw(iniciar, new Rectangle(150, 400, 200, 100), Color.White);
           spriteBatch.Draw(menu, new Rectangle(0,0, Window.ClientBounds.Width, Window.ClientBounds.Height), Color.White);
           //spriteBatch.Draw(sair, new Rectangle(400, 400, 200, 100), Color.White);
           //spriteBatch.Draw(bcreditos, new Rectangle(650, 400, 200, 100), Color.White);
           
       }

    }
}
